import CustomBtn from '@/views/platform/components/common/customBtn'
export default{
  components: { CustomBtn },
  methods: {
    confirm(title, content, confirm, cancel) {
      return this.$confirm(this.$t(content || 'common.confirmDoThis'), this.$t(title || 'common.prompt'), {
        confirmButtonText: this.$t(confirm || 'common.confirm'),
        cancelButtonText: this.$t(cancel || 'common.cancel'),
        closeOnClickModal: false,
        type: 'warning'
      })
    }

  }
}
